<?php decorate_with(false) ?>
<?
    /* @todo kill copypasta from snippetSuccess.json.php */
	switch ($snippetName){
		case "gallery":
		case "images":
        case "images-in-standalone":
        case "images-in-listed":
            switch ($snippetName){
                case "images-in-standalone":
                    $imageSnippetType="in-standalone-entry";
                    break;
                case "images-in-listed":
                case "gallery":
                case "images":
                default:
                    $imageSnippetType="in-listed-entry";
                    break;
            }
			include_component("images", "templatePartForEntry", array("entry" => $entry, "currentSection" => $currentSection, "type" => $imageSnippetType));
			break;
        case "standalone":
        case "listed":
            $out=include_partial("entry/templatePart", array("entry" => $entry, "currentSection" => $currentSection, "type" => $snippetName));
            break;
	}

